package com.changjiang.luban.utils;

/**
 * Created with IntelliJ IDEA.
 * Description:系统常量类
 *
 * @author changjiang
 * Date: 2018-03-22
 * Time: 18:01
 */
public class SystemConstants {

    /**
     * 存储当前登录用户Code的字段名
     */
    public static final String CURRENT_USER_CODE = "CURRENT_USER_CODE";

    /**
     * token有效期（小时）
     */
    public static final Integer TOKEN_EXPIRES_HOUR = 72;

    /**
     * 存放Authorization的header字段
     */
    public static final String AUTHORIZATION = "authorization";

    /**
     * 系统用户停用状态常量
     */
    public static final Integer SYSUSER_STATE_DISABLE = 2;

    /** cookie有效时间(单位:秒) */
    public static final int COOKIE_EXPIRATION_TIME = 3000;
}
